package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/25
 * Time: 16:59
 * Description:
 */
@Data
@TableName("t_user_account_amount_transform_log")
@ApiModel(value = "TUserAccountAmountTransformLogEntity", description = "数据库-用户账户转化日志记录表")
public class TUserAccountAmountTransformLogEntity extends AbstractPageEntity {
    @TableId("id")
    @ApiModelProperty(value = "佣金/金币转化日志主键", dataType = "String", notes = "佣金/金币转化日志主键")
    private String id;

    @TableField("user_id")
    @ApiModelProperty(value = "用户主键", dataType = "String", notes = "用户主键")
    private String userId;

    @TableField("amount")
    @ApiModelProperty(value = "转化金额", dataType = "String", notes = "转化金额")
    private BigDecimal amount;

    @TableField("amount_transform_type")
    @ApiModelProperty(value = "转化类型码值", dataType = "String", notes = "转化类型码值")
    private String amountTransformType;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "Date", notes = "创建时间")
    private Date createTime;
}
